package jd1;

public class User {
    private String userName; //用户名
    private String eamil; //邮箱

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getEamil() {
        return eamil;
    }

    public void setEamil(String eamil) {
        this.eamil = eamil;
    }

    //显示方法
    public void show(){
        System.out.println("用户名："+getUserName()+"\n邮箱："+getEamil());
    }
}
